/**
 * Element Plus 组件主题样式覆盖
 * 应用南昌旅游特色主题色
 */

/* ========== 按钮主题色 ========== */
.el-button--primary {
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  border: none;
  transition: all 0.3s ease;
}

.el-button--primary:hover {
  background: linear-gradient(135deg, #D91E36 0%, #E6C866 100%);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.el-button--primary:active {
  transform: translateY(0);
}

/* ========== 链接主题色 ========== */
.el-link--primary {
  color: #C8102E;
}

.el-link--primary:hover {
  color: #D4AF37;
}

/* ========== 标签主题色 ========== */
.el-tag {
  border-radius: 6px;
}

/* ========== 卡片样式 ========== */
.el-card {
  border-radius: 12px;
  border: 1px solid rgba(200, 16, 46, 0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(227,242,253,0.8) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(200, 16, 46, 0.08);
  transition: all 0.3s ease;
}

.el-card:hover {
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.16);
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
}

/* ========== 输入框样式 ========== */
.el-input__wrapper {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.el-input__wrapper:hover {
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.2) inset;
}

.el-input.is-focus .el-input__wrapper {
  box-shadow: 0 0 0 1px #C8102E inset;
}

/* ========== 选择器样式 ========== */
.el-select .el-input.is-focus .el-input__wrapper {
  box-shadow: 0 0 0 1px #C8102E inset;
}

/* ========== 步骤条样式 ========== */
.el-steps .el-step__head.is-process {
  color: #C8102E;
  border-color: #C8102E;
}

.el-steps .el-step__head.is-finish {
  color: #D4AF37;
  border-color: #D4AF37;
}

/* ========== 分页样式 ========== */
.el-pagination .el-pager li.is-active {
  background-color: #C8102E;
  color: white;
}

.el-pagination .btn-next:hover,
.el-pagination .btn-prev:hover {
  color: #C8102E;
}

/* ========== 表格样式 ========== */
.el-table {
  border-radius: 8px;
  overflow: hidden;
}

.el-table th.el-table__cell {
  background-color: rgba(200, 16, 46, 0.05);
}

.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background-color: rgba(227, 242, 253, 0.3);
}

/* ========== 对话框样式 ========== */
.el-dialog {
  border-radius: 16px;
  border: 1px solid rgba(200, 16, 46, 0.1);
}

.el-dialog__header {
  border-bottom: 1px solid rgba(200, 16, 46, 0.1);
}

/* ========== 消息提示样式 ========== */
.el-message--success {
  background-color: rgba(76, 175, 80, 0.1);
  border-color: #4CAF50;
}

.el-message--error {
  background-color: rgba(200, 16, 46, 0.1);
  border-color: #C8102E;
}

.el-message--warning {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: #D4AF37;
}

/* ========== 加载样式 ========== */
.el-loading-mask {
  background-color: rgba(227, 242, 253, 0.8);
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
  .el-card {
    border-radius: 8px;
  }
  
  .el-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

